package io.wdb.modules.generator.generator.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.wdb.modules.generator.generator.dao.BookMaintainLogDao;
import io.wdb.modules.generator.generator.entity.BookMaintainLogEntity;
import io.wdb.modules.generator.generator.service.BookMaintainLogService;



@Service("bookMaintainLogService")
public class BookMaintainLogServiceImpl implements BookMaintainLogService {
	@Autowired
	private BookMaintainLogDao bookMaintainLogDao;
	
	@Override
	public BookMaintainLogEntity queryObject(Long id){
		return bookMaintainLogDao.queryObject(id);
	}
	
	@Override
	public List<BookMaintainLogEntity> queryList(Map<String, Object> map){
		return bookMaintainLogDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return bookMaintainLogDao.queryTotal(map);
	}
	
	@Override
	public void save(BookMaintainLogEntity bookMaintainLog){
		bookMaintainLogDao.save(bookMaintainLog);
	}
	
	@Override
	public void update(BookMaintainLogEntity bookMaintainLog){
		bookMaintainLogDao.update(bookMaintainLog);
	}
	
	@Override
	public void delete(Long id){
		bookMaintainLogDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Long[] ids){
		bookMaintainLogDao.deleteBatch(ids);
	}
	
}
